package org.exez.modules.visitor.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.exez.modules.visitor.entity.PolicePay;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 事业单位表
 * @Author: exez-boot
 * @Date:   2020-06-04
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="事业单位展示对象", description="事业单位展示对象")
public class InstitutionPolicePayVO {

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
	private String institutionName;

	/**单位编码*/
	@Excel(name = "单位编码", width = 15)
	@ApiModelProperty(value = "单位编码")
	private String code;

	/**count*/
	@ApiModelProperty(value = "用户数")
	private Integer userCount;

	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;

	/**单位编码*/
	@Excel(name = "公安配", width = 15)
	@ApiModelProperty(value = "公安配")
	private PolicePay policePay;
}
